package com.tour.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tour.entity.Discuss;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lel
 * @since 2020-12-30
 */
@Mapper
@Repository
public interface DiscussMapper extends BaseMapper<Discuss> {

    IPage<Map> discussList(IPage<Map> page, @Param("postId")Integer postId);

}
